package com.pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * Emp entity. @author MyEclipse Persistence Tools
 */

public class Emp implements java.io.Serializable {

	// Fields

	private Integer empid;
	private Cangku cangku;
	private String emppwd;
	private String empname;
	private Set chuinfos = new HashSet(0);
	private Set ruinfos = new HashSet(0);

	// Constructors

	/** default constructor */
	public Emp() {
	}

	/** full constructor */
	public Emp(Cangku cangku, String emppwd, String empname, Set chuinfos,
			Set ruinfos) {
		this.cangku = cangku;
		this.emppwd = emppwd;
		this.empname = empname;
		this.chuinfos = chuinfos;
		this.ruinfos = ruinfos;
	}

	// Property accessors

	public Integer getEmpid() {
		return this.empid;
	}

	public void setEmpid(Integer empid) {
		this.empid = empid;
	}

	public Cangku getCangku() {
		return this.cangku;
	}

	public void setCangku(Cangku cangku) {
		this.cangku = cangku;
	}

	public String getEmppwd() {
		return this.emppwd;
	}

	public void setEmppwd(String emppwd) {
		this.emppwd = emppwd;
	}

	public String getEmpname() {
		return this.empname;
	}

	public void setEmpname(String empname) {
		this.empname = empname;
	}

	public Set getChuinfos() {
		return this.chuinfos;
	}

	public void setChuinfos(Set chuinfos) {
		this.chuinfos = chuinfos;
	}

	public Set getRuinfos() {
		return this.ruinfos;
	}

	public void setRuinfos(Set ruinfos) {
		this.ruinfos = ruinfos;
	}

}